package com.dt76.smallloanbackenduser.remote.zjs;
import com.dt76.smallloanbackenduser.hystrix.zjs.MemberRemoteHystrix;
import com.dt76.smallloanbackenduser.pojo.zjs.Member;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
@FeignClient(name = "smallloan-backend-service",fallback = MemberRemoteHystrix.class)
public interface MemberRemote {

    @RequestMapping("/zjs/member")
    public Page qryAllMember(@RequestParam("pageIndex") int pageIndex);



}
